package com.example.quarkus.config;

import jakarta.ws.rs.core.Application;
import org.eclipse.microprofile.openapi.annotations.OpenAPIDefinition;
import org.eclipse.microprofile.openapi.annotations.info.Contact;
import org.eclipse.microprofile.openapi.annotations.info.Info;

@OpenAPIDefinition(
        info = @Info(
                title = "quarkus-demo测试swagger",
                // TODO 这里的版本号本来想RuoYi.config.getVersion()获取的，但是会报错Attribute value must be constant，
                //  在其他地方不会，估计是和这儿注解的原理有关
                version = "1.0.0",
                description = "这个信息是用来描述swagger ui接口的",
                contact = @Contact(
                        name = "主页",
                        url = "http://www.baidu.com",
                        email = "")
        )
)
public class SwaggerConfig extends Application {
}